package pers.patterns.yang.strategy;

public class OperationAdd implements Operation{
    @Override
    public int doOperation(int num1, int num2) {
        return num1 + num2;
    }

    public double doOperation(int num1, int num2, int num3) {
        return (double)(num1 + num2);
    }

    public float doOperation(float num1, float num2) {
        return num1 + num2;
    }

    public double doOperation(double num1, double num2) {
        return num1 + num2;
    }

    public long doOperation(long num1, long num2) {
        return num1 + num2;
    }

    public double doOperation(int num1, double num2) {
        return num1 + num2;
    }

    public double doOperation(int num1, float num2) {
        return num1 + num2;
    }

    public double doOperation(double num1, int num2) {
        return num1 + num2;
    }

    public double doOperation(float num1, int num2) {
        return num1 + num2;
    }
}
